//
//  DSZDiZhICell.m
//  7.13苏宁框架
//
//  Created by app05 on 15/7/26.
//  Copyright (c) 2015年 lovena. All rights reserved.
//

#import "DSZDiZhICell.h"
#import "UserModel.h"

@interface DSZDiZhICell ()
@property (weak, nonatomic) IBOutlet UILabel *name;
@property (weak, nonatomic) IBOutlet UILabel *tel;
@property (weak, nonatomic) IBOutlet UILabel *postNum;
@property (weak, nonatomic) IBOutlet UILabel *location;
@end
@implementation DSZDiZhICell

- (void)awakeFromNib {
    // Initialization code
}

-(void)setModel:(UserModel *)model
{
    _model=model;
    
    self.name.text=model.userName;
    self.tel.text=model.telephone;
    self.postNum.text=model.postNum;
    self.location.text=[NSString stringWithFormat:@"%@-%@",model.bigLoca,model.littleLoca];
}
+(id)cell
{
    return [[NSBundle mainBundle]loadNibNamed:@"DSZDiZhICell" owner:nil options:nil][0];
}

@end
